<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            list-style: none;
            text-decoration: none;
        }

        ul{
            /* 边框 */
            border-top: 1px solid rgb(192, 192, 192);
            border-bottom: 1px solid rgb(192, 192, 192);
            display: flex;
            justify-content: center;
        }
        li{
            text-align: center;
            line-height: 40px;
            border-right: 1px solid  rgb(192, 192, 192);
        }
        li:last-child{
            border-right:none;
        }
        a{
            /* 行内块 */
            display: inline-block;
            width: 200px;
            height: 40px;
            /* 单行注释 Ctrl+/ */
            /* background-color: #ffbaba; */  
            color: rgb(30, 30, 30);
        }
    </style>
</head>
<body>
    <ul>
        <li><a href="">我要投资</a></li>
        <li><a href="">我要投资</a></li>
        <li><a href="">我要投资</a></li>
        <li><a href="">我要投资的</a></li>
        <li><a href="">我要投资</a></li>
    </ul>

    <!-- ul 块 -->
    <!-- li 块 -->
    <!-- 多了列表样式 -->


    
</body>
</html>